package com.google.code.pdfbrick.testcase;

import static java.lang.System.out;
import java.io.IOException;

import org.junit.Before;
import org.junit.Test;

import com.google.code.pdfbrick.PDFBrick;
import com.google.code.pdfbrick.engine.base.Executable;
import com.google.code.pdfbrick.merger.MergeCommand;

public class TestMergeFunction {

	private String param1;
	private String param2;
	
	@Before
	public void prepare(){
		param1="J:/JAVA/PDFBrick/testPdf/merged.pdf";
		param2="J:/JAVA/PDFBrick/testPdf/1_21.pdf;J:/JAVA/PDFBrick/testPdf/22_27.pdf";
	}
	
	@Test
	public void print(){
		String[] params={"merge",param1,param2};
		PDFBrick.main(params);
	}
}
